<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
       let c=prompt("请输入js成绩")
       let t=prompt("请输入音乐成绩")
       if(c>98&&t>80) {
        alert("奖励一本笔记本")
       }else if(c=100&&t>70){
        alert("奖励一本笔记本")
       }else{
        alert("菜就多练")
       }
    </script>
</body>
</html>